package com.sbx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sbx.entity.dto.FileOB;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface FilesService {
    void uploadFile(MultipartFile file, String visit, String parentId, String name, String bucket);

    void downFile(String id, HttpServletResponse response);

    void createDir(FileOB fileOB);

    void putFileOrDir(String id, String name, String visit);

    void delFileOrDir(String id);

    void cpFile();

    Page<FileOB> fileList(String id, Boolean self, Integer pageIndex, Integer pageSize);
}
